package com.ethan.valid.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: ethan.liu
 * @Date: 2020/10/15 17:05
 */
@Data
public class LoginDTO {
    @NotBlank(message = "不能为空")
    private String name;
    private String pwd;
    @NotNull
    private String tel;
    private String email;
}
